LMS | STORE | KOR | ENG
Ƽ [Ƶ̳ ġ]
ۼ :  2020-07-20 13:37 ̸ : 
÷ : Altino.zip

 

2022 7 8


stop(), Stop() Լ ߰Ƶ̳ ġ ϽŴٸ, ٿ޾ Ͻñ ٶϴ.

 

Altino.zip Ǯ Arduinolibraries Ǯ Altino ִ´.

 

Ƶ̳ ġ -̺귯 MsTimer2 ġ ؾ մϴ.

 

Ƽ Ƶ̳ 2021.04.13

 

 

1

Ƶ̳ ġ

޴ - ġ - ̺귯 ϱ - ̺귯 ...

̺귯 ޴ ̾α ڽ Ÿ "mstimer" Էϸ MsTimer2 ġѴ.

 

2

Serial.begin(15200);

Open(), BT(), Bt(), bt()

 

3

Go(300,300)

Go(300,300), go(300,300)

 

4

Steering(1), Steering2(-127,0),

Steering3(-127)

Steering(-127), steering(-127),

-127 ~ 127 θ

 

5

Display('A')

Display('A'), display('A')

 

6

DisplayLine(0xff,0xff,0xff,x0ff,0xff,0xff,0xff,0xff)

DisplayLine(0xff,0xff,0xff,x0ff,0xff,0xff,0xff,0xff)

displayline(0xff,0xff,0xff,x0ff,0xff,0xff,0xff,0xff)

displayLine(0xff,0xff,0xff,x0ff,0xff,0xff,0xff,0xff)

 

7

Sound(37)

Sound(37), sound(37)

 

8

Light(0xc0ff), Led(0xc0ff)

Light(0xc0ff), light(0xc0ff),

Led(0xc0ff), led(0xc0ff)

 

9

Displayon(8,8)

Displayon(8,8), DisplayOn(8,8), displayon(8,8),

DisplayON(8,8)

 

10

Displayoff(8,8)

Displayoff(8,8), DisplayOff(8,8), displayoff(8,8),

DisplayOFF(8,8)

ª Ǵ ӵ, ڱ ̸

11

typedef struct SensorData1 {

int IRSensor[6];

int TorqueSensor[2];

int TemperatureSensor;

int CDSSensor;

int GSensor[3];

int MSensor[3];

int GySensor[3];

int SteeringVar;

int SteeringTorque;

int Battery;

int Remote;

int MTemperature;

}SensorData;

typedef struct SensorData1 {

int CDS;

int IR[7];

int Bat;

int Acc[3];

int Mag[3];

int Gyro[3];

int MCur[2];

int Temp;

int StVar;

int StCur;

int Remote;

int MTemp;

}SensorData;

 

12

ܼ 1 IR[0]

ܼ 2 IR[1]

ܼ 3 IR[2]

ܼ 4 IR[3]

ܼ 5 IR[4]

ܼ 6 IR[5]

ܼ 1 IR[1]

ܼ 2 IR[2]

ܼ 3 IR[3]

ܼ 4 IR[4]

ܼ 5 IR[5]

ܼ 6 IR[6]

Ʈ 1~6


Ƽ Ƶ̳븦 ϴ Ϻ Ǿ Ʒ ̹ ٶϴ.

 

1. void setup() ܿ Altino sensor;

2. void setup() ο Open();

 

Ƶ̳ .png

 

۸